/*
 *  main.h
 *  
 *
 *  Created by Jason Fleischer on 3/3/11.
 *  Copyright 2011 The Neurosciences Institute, La Jolla, CA. All rights reserved.
 *
 */

#include "groups.h"

// Helper functions used in world.h byt interact_reset to control neural resets
extern void reset_neuron( int nrn );
extern void reset_dynamics( group g );
extern void reset_dynamics(int area, int type);
extern void reset_dynamics(int area);
// original function that resets the whole nervous system at once
extern void reset_dynamics();

// gives access to the areas and types by index number, rather than 
extern int Ntypes;
extern int N_areas;
extern int	myid;

#define watchid 0		// spikes.dat and voltages are written from myid=0 regardless of the watchid.
